package com.yunkaweilai.android.model.shop;

import java.util.List;

/**
 * Created by Administrator on 2017/6/10.
 */
public class ShopModel {




    private int loginCode;
    private int code;
    private String message;


    private DataBean data;

    public int getLoginCode() {
        return loginCode;
    }

    public void setLoginCode(int loginCode) {
        this.loginCode = loginCode;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {


        private List<ListBean> list;
        private PageBean page;

        public PageBean getPage() {
            return page;
        }

        public void setPage(PageBean page) {
            this.page = page;
        }

        public static class PageBean {


            private int totalPages;
            private int firstRow;
            private int listRows;
            private String count;
            private int currpage;
            private boolean next;
            private boolean prev;

            public int getTotalPages() {
                return totalPages;
            }

            public void setTotalPages(int totalPages) {
                this.totalPages = totalPages;
            }

            public int getFirstRow() {
                return firstRow;
            }

            public void setFirstRow(int firstRow) {
                this.firstRow = firstRow;
            }

            public int getListRows() {
                return listRows;
            }

            public void setListRows(int listRows) {
                this.listRows = listRows;
            }

            public String getCount() {
                return count;
            }

            public void setCount(String count) {
                this.count = count;
            }

            public int getCurrpage() {
                return currpage;
            }

            public void setCurrpage(int currpage) {
                this.currpage = currpage;
            }

            public boolean isNext() {
                return next;
            }

            public void setNext(boolean next) {
                this.next = next;
            }

            public boolean isPrev() {
                return prev;
            }

            public void setPrev(boolean prev) {
                this.prev = prev;
            }
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            private String id;
            private String goods_category_id;
            private String goods_category_parent_id;
            private String goods_name;
            private String goods_sku;
            private String store_id;
            private String status;
            private String statuss;
            private String unit;
            private String sort;
            private String remark;
            private String goods_image;
            private String is_special_discount;
            private String special_discount;
            private String is_discount_to_discount;
            private String is_special_points;
            private String special_points;
            private String create_time;
            private String create_id;
            private String show_shop_price;
            private String goods_shop_price;
            private String goods_market_price;
            private String goods_reward;
            private String goods_category_name;
            private String may_use_stock;
            private String goods_type;
            private boolean open_stock = true;//设定是否打开库存的私有值

            public boolean isOpen_stock() {
                return open_stock;
            }

            public void setOpen_stock(boolean open_stock) {
                this.open_stock = open_stock;
            }

            public String getStatuss() {
                return statuss;
            }

            public void setStatuss(String statuss) {
                this.statuss = statuss;
            }

            /**
             * name : 颜色
             * child : ["红色","酒红色"]
             * id : 34
             */



            private List<SelectSpecToArrayBean> select_specToArray;


            private List<ShopSkuInfoModel> SkuList;

            public String getGoods_type() {
                return goods_type;
            }

            public void setGoods_type(String goods_type) {
                this.goods_type = goods_type;
            }

            public String getGoods_category_parent_id() {
                return goods_category_parent_id;
            }

            public void setGoods_category_parent_id(String goods_category_parent_id) {
                this.goods_category_parent_id = goods_category_parent_id;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getGoods_category_id() {
                return goods_category_id;
            }

            public void setGoods_category_id(String goods_category_id) {
                this.goods_category_id = goods_category_id;
            }

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }


            public String getGoods_sku() {
                return goods_sku;
            }

            public void setGoods_sku(String goods_sku) {
                this.goods_sku = goods_sku;
            }

            public String getStore_id() {
                return store_id;
            }

            public void setStore_id(String store_id) {
                this.store_id = store_id;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }


            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public String getSort() {
                return sort;
            }

            public void setSort(String sort) {
                this.sort = sort;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public String getGoods_image() {
                return goods_image;
            }

            public void setGoods_image(String goods_image) {
                this.goods_image = goods_image;
            }


            public String getIs_special_discount() {
                return is_special_discount;
            }

            public void setIs_special_discount(String is_special_discount) {
                this.is_special_discount = is_special_discount;
            }

            public String getSpecial_discount() {
                return special_discount;
            }

            public void setSpecial_discount(String special_discount) {
                this.special_discount = special_discount;
            }

            public String getIs_discount_to_discount() {
                return is_discount_to_discount;
            }

            public void setIs_discount_to_discount(String is_discount_to_discount) {
                this.is_discount_to_discount = is_discount_to_discount;
            }

            public String getIs_special_points() {
                return is_special_points;
            }

            public void setIs_special_points(String is_special_points) {
                this.is_special_points = is_special_points;
            }

            public String getSpecial_points() {
                return special_points;
            }

            public void setSpecial_points(String special_points) {
                this.special_points = special_points;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public String getCreate_id() {
                return create_id;
            }

            public void setCreate_id(String create_id) {
                this.create_id = create_id;
            }

            public String getShow_shop_price() {
                return show_shop_price;
            }

            public void setShow_shop_price(String show_shop_price) {
                this.show_shop_price = show_shop_price;
            }


            public String getGoods_shop_price() {
                return goods_shop_price;
            }

            public void setGoods_shop_price(String goods_shop_price) {
                this.goods_shop_price = goods_shop_price;
            }

            public String getGoods_market_price() {
                return goods_market_price;
            }

            public void setGoods_market_price(String goods_market_price) {
                this.goods_market_price = goods_market_price;
            }

            public String getGoods_reward() {
                return goods_reward;
            }

            public void setGoods_reward(String goods_reward) {
                this.goods_reward = goods_reward;
            }

            public String getGoods_category_name() {
                return goods_category_name;
            }

            public void setGoods_category_name(String goods_category_name) {
                this.goods_category_name = goods_category_name;
            }

            public String getMay_use_stock() {
                return may_use_stock;
            }

            public void setMay_use_stock(String may_use_stock) {
                this.may_use_stock = may_use_stock;
            }

            public List<SelectSpecToArrayBean> getSelect_specToArray() {
                return select_specToArray;
            }

            public void setSelect_specToArray(List<SelectSpecToArrayBean> select_specToArray) {
                this.select_specToArray = select_specToArray;
            }

            public List<ShopSkuInfoModel> getSkuList() {
                return SkuList;
            }

            public void setSkuList(List<ShopSkuInfoModel> SkuList) {
                this.SkuList = SkuList;
            }

            public static class SelectSpecToArrayBean {
                private String name;
                private int id;
                private List<String> child;
                private int sPosition;

                public int getsPosition() {
                    return sPosition;
                }

                public void setsPosition(int sPosition) {
                    this.sPosition = sPosition;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public List<String> getChild() {
                    return child;
                }

                public void setChild(List<String> child) {
                    this.child = child;
                }
            }

        }
    }
}
